#ifndef JZCO_FILE_H
#define JZCO_FILE_H

#include <QFile>
#include "JZCoCoroutine.h"

class JZCoFile
{
public:
	JZCoFile(QFile* file);

	QByteArray readAll();
	qint64 write(const QByteArray& buffer);

protected:
	QFile* m_file;
};

#endif // !JZCO_NET_WORK_H
